package com.life.model;

import java.util.HashMap;

public class ModelLogger {

	HashMap<Integer,LifeModel> dataStore = null;
	
	public ModelLogger()
	{
		dataStore = new HashMap<Integer,LifeModel>(1000);
	}
	
	public LifeModel getModel(Integer key)
	{
		return dataStore.get(key);
	}
	
	public void log(Integer key, LifeModel data)
	{
		dataStore.put(key,data);
	}
	
	public int getLogCount()
	{
		return dataStore.size();
	}
}